package com.cole.miniapp.project.enumeration.user;

/**
 * @Author: Ceanie
 * @Despriction:
 * @Date: Created in 22:47 2019-04-28
 * @Modify By: 充值类型 0、线上充值 1、商家充值 2、管理员充值
 **/
public enum UserRechargeTypeEmun {
    /**
     * 线上充值
     */
    CODE_0((byte)0,"线上充值"),

    /**
     * 商家充值
     */
    CODE_1((byte)1,"商家充值"),

    /**
     * 管理员充值
     */
    CODE_2((byte)1,"管理员充值");

    private final Byte code;

    private final String msg;

    private UserRechargeTypeEmun(Byte code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Byte getCode() {
        return code;
    }

    public String getMsg(){
        return msg;
    }
}
